<html>
 <head>
  <title>Firefox浏览器addEventListener方法示例</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 </head>
 <body>
  <input type='button' id='btn' value='ok'>
 </body>
<script language="JavaScript">
	function hello1(){ 
		alert('hello1');
	}
	function hello2(){
		alert('hello2');
	}
	var button = document.getElementById('btn');
	button.addEventListener('click',hello1,false);
	button.addEventListener('click',hello2,false);
</script>
</html>
